package com.ulife.order.api.response.cart;

import com.ulife.common.gateway.utils.annotation.Description;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Ulife- on 2016/3/25.
 */
@Description("汇总详情")
public class CartCombineDTO implements Serializable {
    @Description("专区描述，标题等")
    public String title;
    @Description("专区总金额")
    public  double  totalAmount;
    @Description("专区优惠金额")
    public  double  discount;
    @Description("商品详情")
    public List<CartItemsDTO> items;
    @Description("参考 [ promotions 详情 ]")
    public List<CartPromotionsDTO> promotions;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public double getDiscount() {
        return discount;
    }

    public void setDiscount(double discount) {
        this.discount = discount;
    }

    public List<CartItemsDTO> getItems() {
        return items;
    }

    public void setItems(List<CartItemsDTO> items) {
        this.items = items;
    }

    public List<CartPromotionsDTO> getPromotions() {
        return promotions;
    }

    public void setPromotions(List<CartPromotionsDTO> promotions) {
        this.promotions = promotions;
    }
}
